package com.longtop.sp.mapdao.meta;

public abstract class AbstractPrimaryKey implements IPrimaryKey {
	public boolean isPrimaryKey(String fieldName) {
		if (fieldName == null)
			return false;
		for (int i = 0, m = size(); i < m; i++) {
			if (fieldName.equalsIgnoreCase(getPrimaryKey(i))) {
				return true;
			}
		}
		return false;
	}
}
